#define _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"
int main()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);

	printf("%d",QueueTop(&pq);
	QueuePop(&pq);
	while (!QEmpty(&pq))
	{
	
	printf("%d", QueueTop(&pq));
	QueuePop(&pq);


	}
	QueueDestroy(&pq);
	return 0;

}
